package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
/**
* <p>
    * 资源表
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("sys_menu")
    @ApiModel(value="SysMenu对象", description="资源表")
    public class SysMenu implements Serializable {


private static final long serialVersionUID = 1L;
            @ApiModelProperty(value = "资源编号")
            @TableId(value = "sys_menu_id", type = IdType.AUTO)
    private Long sysMenuId;
            @ApiModelProperty(value = "资源名称")
    private String name;
            @ApiModelProperty(value = "父级ID")
    private Long parentCode;
            @ApiModelProperty(value = "URL")
    private String url;
            @ApiModelProperty(value = "权限标识")
    private String perms;
            @ApiModelProperty(value = "类型：如button按钮 menu菜单")
    private String type;
            @ApiModelProperty(value = "菜单图标")
    private String icon;
            @ApiModelProperty(value = "排序")
    private Long priority;
            @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;
            @ApiModelProperty(value = "状态 0锁定 1有效")
    private Boolean status;

}
